package com.work.example.demo5.domain;

public class BooksEntity {
    private Long id;
    private String name;
    private Long authorId;
    private Long pressId;
    private Long categoryId;
    private String returned;
    private String createTime;
    private String createBy;
    private String updateTime;
    private String updateBy;

    public BooksEntity() {
    }

    @Override
    public String toString() {
        return "BooksEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", authorId=" + authorId +
                ", pressId=" + pressId +
                ", categoryId=" + categoryId +
                ", returned='" + returned + '\'' +
                ", createTime='" + createTime + '\'' +
                ", createBy='" + createBy + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", updateBy='" + updateBy + '\'' +
                '}';
    }

    public BooksEntity(Long id, String name, Long authorId, Long pressId, Long categoryId, String returned, String createTime, String createBy, String updateTime, String updateBy) {

        this.id = id;
        this.name = name;
        this.authorId = authorId;
        this.pressId = pressId;
        this.categoryId = categoryId;
        this.returned = returned;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Long authorId) {
        this.authorId = authorId;
    }

    public Long getPressId() {
        return pressId;
    }

    public void setPressId(Long pressId) {
        this.pressId = pressId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getReturned() {
        return returned;
    }

    public void setReturned(String returned) {
        this.returned = returned;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
}
